Adwaita: tweak list row transition
authorLapo Calamandrei <calamandrei@gmail.com>
Thu, 16 Oct 2014 12:12:13 +0000 (14:12 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Thu, 16 Oct 2014 12:15:15 +0000 (14:15 +0200)
Thanks to Carlos Soriano expertise.

gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index 361f00ab21c01d13b99da5fc0e56d68c697b8773..2d8a5fb847b34870c1d4fbe0452f8be1db2941f3 100644 (file)
@@ -2485,6 +2485,13 @@ GtkScrolledWindow {
   }
 }
 
+// transition
+.list-row, list-row.button {
+  transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
+  &:hover { transition: none; }
+}
+
+
 /*********************
  * App Notifications *
  *********************/
index 53d1d4780c061940dc492a775bdb9e6ee3eecd16..244906776e05fe4234757224d0acb357c3c7a07a 100644 (file)
@@ -3695,6 +3695,15 @@ GtkCalendar.header .list-row.button.titlebutton {
       .list-row:selected .button:insensitive:active > .label, .list-row:selected .button:insensitive:checked > .label {
         color: inherit; }
 
+.list-row, list-row.button, .header-bar list-row.button.titlebutton,
+.titlebar list-row.button.titlebutton,
+GtkCalendar.header list-row.button.titlebutton {
+  transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
+  .list-row:hover, list-row.button:hover, .header-bar list-row.button.titlebutton:hover,
+  .titlebar list-row.button.titlebutton:hover,
+  GtkCalendar.header list-row.button.titlebutton:hover {
+    transition: none; }
+
 /*********************
  * App Notifications *
  *********************/
index 77defbeea42174798c985c4a88573896e86f76cf..c52a29cb1404a736933b2cdc6c4eb8fe4b2429e0 100644 (file)
@@ -3856,6 +3856,15 @@ GtkCalendar.header .list-row.button.titlebutton {
       .list-row:selected .button:insensitive:active > .label, .list-row:selected .button:insensitive:checked > .label {
         color: inherit; }
 
+.list-row, list-row.button, .header-bar list-row.button.titlebutton,
+.titlebar list-row.button.titlebutton,
+GtkCalendar.header list-row.button.titlebutton {
+  transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
+  .list-row:hover, list-row.button:hover, .header-bar list-row.button.titlebutton:hover,
+  .titlebar list-row.button.titlebutton:hover,
+  GtkCalendar.header list-row.button.titlebutton:hover {
+    transition: none; }
+
 /*********************
  * App Notifications *
  *********************/